﻿#ifndef CHOOSEGUN_H
#define CHOOSEGUN_H

#include <QWidget>
#include "Global.h"

namespace Ui {
class ChooseGun;
}

class ChooseGun : public QWidget
{
    Q_OBJECT
    
public:
    QLabel* time;
    QLabel* signal;

    explicit ChooseGun(QWidget *parent = 0);
    ~ChooseGun();
signals:
    void ChooseGun_No(int);
private slots:
    void Focus_Gun_Init(int current);
    void update_Frame();
    void on_ChooseNum_clicked();
    void on_buttonBack_clicked();
    void Come_back_WaitUsePage();
    void handle_put_in_charge(int gun_no);

private:
    int count;
    QTimer Without_operation_timeout;
    void setText_gun_stauts(int current);
    void setText_gun_stauts_(int current);
    Choose_Gun_Frame_Color Frame_enable[8];
    QTimer *GunInfo;
    Ui::ChooseGun *ui;
};

#endif // CHOOSEGUN_H
